﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HP.Cachalote.DataModels;
using HP.Cachalote.Repositories.Interfaces;

namespace HP.Cachalote.UnitTests.FakeRepositories
{
    /// <summary>
    /// Provide a FakeLabelRepository to operate in-memory data instead of real data source. 
    /// </summary>
    public class FakeLabelRepository : FakeRepositoryBase<TodoLabel>, ITodoLabelRepository
    {
        protected override void GenerateInMemoryData()
        {
            if (DataList != null)
            {
                return;
            }

            DataList = FakeDataSource.TodoLabels;
        }
    }
}
